package org.jeecg.modules.basic.plant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.basic.plant.entity.WmsSapWarehouseMap;

/**
 * @Description: 仓库和sap库位对照信息
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
public interface IWmsSapWarehouseMapService extends IService<WmsSapWarehouseMap> {

    void resave(WmsSapWarehouseMap wmsSapWarehouseMap);

    String getSapStoreCode(String storeCode);

    void updatePlant(WmsSapWarehouseMap wmsSapWarehouseMap);

    /**
     * 分页查询
     * @return
     */
    Page<WmsSapWarehouseMap> listByPage(Page<WmsSapWarehouseMap> page, WmsSapWarehouseMap sapWarehouseMap);

    String getWmsStroeBySapStore(String storeLocation,String factory);
}
